package cn.tedu.deviceservice.pojo.vo;

import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.persistence.Column;
import javax.persistence.Table;
//添加注解,把数据库字段与类的属性映射
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@Table(name = "charging_station")
public class ChargingStationCanalPO {
    @Column(name = "id")
    Long id;
    @Column(name = "station_code")
    String stationCode;
    @Column(name = "station_name")
    String stationName;
    @Column(name = "device_number")
    Long deviceNumber;
}
